%%{init: {'themeVariables': { 'fontSize': '12px'}}}%%
graph TD
    classDef path fill:#eee,stroke:#000,color:#000
    classDef plan fill:#fff,stroke-width:1px,color:#000
    classDef itemplan fill:#fff,stroke-width:2px,color:#000
    classDef unbatchedplan fill:#dff,stroke-width:1px,color:#000
    classDef sideeffectplan fill:#fcc,stroke-width:2px,color:#000
    classDef bucket fill:#f6f6f6,color:#000,stroke-width:2px,text-align:left

    subgraph "Buckets for queries/polymorphic/person-app-vulns"
    Bucket0("Bucket 0 (root)<br /><br />1: <br />ᐳ: 10, 11, 42, 125, 130, 175, 180, 225, 230, 264, 12<br />2: PgSelect[9]<br />3: Connection[13]<br />4: ConnectionItems[15]"):::bucket
    Bucket1("Bucket 1 (nullableBoundary)<br />Deps: 13, 15, 12, 42, 125, 130, 175, 180, 225, 230<br /><br />ROOT Connectionᐸ9ᐳ[13]"):::bucket
    Bucket3("Bucket 3 (listItem)<br />Deps: 12, 42, 125, 130, 175, 180, 225, 230<br /><br />ROOT __Item{3}ᐸ15ᐳ[18]"):::bucket
    Bucket4("Bucket 4 (nullableBoundary)<br />Deps: 19, 12, 42, 125, 130, 175, 180, 225, 230<br /><br />ROOT PgSelectSingle{3}ᐸpeopleᐳ[19]<br />1: <br />ᐳ: 20, 21<br />2: PgUnionAll[22], PgUnionAll[27]<br />ᐳ: 263, 28, 31<br />3: Connection[26]<br />4: ConnectionItems[32]"):::bucket
    Bucket7("Bucket 7 (listItem)<br />Deps: 42, 22, 12, 125, 130, 175, 180, 225, 230<br /><br />ROOT __Item{7}ᐸ32ᐳ[37]"):::bucket
    Bucket8("Bucket 8 (nullableBoundary)<br />Deps: 38, 45, 12, 46, 63<br /><br />ROOT Edge{7}[38]"):::bucket
    Bucket9("Bucket 9 (polymorphic)<br />__typename: Access[45]<br />Deps: 45, 12, 46, 125, 130, 175, 180, 225, 230"):::bucket
    Bucket10("Bucket 10 (polymorphicPartition)<br />|AwsApplication<br />Deps: 12, 46, 125, 175, 225<br />ᐳAwsApplication<br /><br />1: PgSelect[47]<br />2: PgSelectRows[52]<br />ᐳ: 51, 53, 65, 67, 69, 71, 72<br />3: 73, 89, 93, 157<br />ᐳ: 257, 258, 259, 77, 123, 124, 126, 127, 158, 161<br />4: Connection[95]<br />5: ConnectionItems[167]"):::bucket
    Bucket11("Bucket 11 (polymorphicPartition)<br />|GcpApplication<br />Deps: 12, 46, 130, 180, 230<br />ᐳGcpApplication<br /><br />1: PgSelect[55]<br />2: PgSelectRows[60]<br />ᐳ: 59, 61, 66, 68, 70, 80, 81<br />3: 82, 91, 96, 162<br />ᐳ: 260, 261, 262, 86, 128, 129, 131, 132, 163, 166<br />4: Connection[98]<br />5: ConnectionItems[170]"):::bucket
    Bucket12("Bucket 12 (polymorphic)<br />__typename: Access[45]<br />Deps: 45, 12, 46"):::bucket
    Bucket13("Bucket 13 (polymorphicPartition)<br />|AwsApplication<br />Deps: 12, 46<br />ᐳAwsApplication<br /><br />1: PgSelect[106]<br />2: PgSelectRows[111]<br />ᐳ: 110, 112, 155"):::bucket
    Bucket14("Bucket 14 (polymorphicPartition)<br />|GcpApplication<br />Deps: 12, 46<br />ᐳGcpApplication<br /><br />1: PgSelect[114]<br />2: PgSelectRows[119]<br />ᐳ: 118, 120, 156"):::bucket
    Bucket15("Bucket 15 (combined)<br />Deps: 12"):::bucket
    Bucket16("Bucket 16 (polymorphic)<br />__typename: Access[134]<br />Deps: 134, 133, 12"):::bucket
    Bucket17("Bucket 17 (listItem)<br />Deps: 175, 12<br /><br />ROOT __Item{17}ᐸ257ᐳ[151]"):::bucket
    Bucket18("Bucket 18 (listItem)<br />Deps: 180, 12<br /><br />ROOT __Item{18}ᐸ260ᐳ[153]"):::bucket
    Bucket19("Bucket 19 (polymorphicPartition)<br />|Organization<br />Deps: 133, 12<br />(2) ...ᐳOrganization<br /><br />1: <br />ᐳ: Access[135]<br />2: PgSelect[136]<br />3: PgSelectRows[141]<br />ᐳ: 140, 142, 201, 203"):::bucket
    Bucket20("Bucket 20 (polymorphicPartition)<br />|Person<br />Deps: 133, 12<br />(2) ...ᐳPerson<br /><br />1: <br />ᐳ: Access[143]<br />2: PgSelect[144]<br />3: PgSelectRows[149]<br />ᐳ: 148, 150, 202, 204"):::bucket
    Bucket23("Bucket 23 (combined)<br />Deps: 12"):::bucket
    Bucket24("Bucket 24 (polymorphic)<br />__typename: Access[184]<br />Deps: 184, 12, 185"):::bucket
    Bucket25("Bucket 25 (polymorphicPartition)<br />|FirstPartyVulnerability<br />Deps: 12, 185<br />(2) ...ᐳFirstPartyVulnerability<br /><br />1: PgSelect[186]<br />2: PgSelectRows[191]<br />ᐳ: 190, 192, 209, 211, 213, 215"):::bucket
    Bucket26("Bucket 26 (polymorphicPartition)<br />|ThirdPartyVulnerability<br />Deps: 12, 185<br />(2) ...ᐳThirdPartyVulnerability<br /><br />1: PgSelect[194]<br />2: PgSelectRows[199]<br />ᐳ: 198, 200, 210, 212, 214, 216"):::bucket
    Bucket27("Bucket 27 (listItem)<br />Deps: 93, 225, 12<br /><br />ROOT __Item{27}ᐸ167ᐳ[205]"):::bucket
    Bucket28("Bucket 28 (listItem)<br />Deps: 96, 230, 12<br /><br />ROOT __Item{28}ᐸ170ᐳ[207]"):::bucket
    Bucket29("Bucket 29 (nullableBoundary)<br />Deps: 205, 225, 206, 12, 218<br /><br />ROOT Edge{27}[206]"):::bucket
    Bucket30("Bucket 30 (nullableBoundary)<br />Deps: 207, 230, 208, 12, 220<br /><br />ROOT Edge{28}[208]"):::bucket
    Bucket31("Bucket 31 (combined)<br />Deps: 12"):::bucket
    Bucket32("Bucket 32 (polymorphic)<br />__typename: Access[234]<br />Deps: 234, 12, 235"):::bucket
    Bucket33("Bucket 33 (polymorphicPartition)<br />|FirstPartyVulnerability<br />Deps: 12, 235<br />(2) ...ᐳFirstPartyVulnerability<br /><br />1: PgSelect[236]<br />2: PgSelectRows[241]<br />ᐳ: 240, 242, 251, 253, 255"):::bucket
    Bucket34("Bucket 34 (polymorphicPartition)<br />|ThirdPartyVulnerability<br />Deps: 12, 235<br />(2) ...ᐳThirdPartyVulnerability<br /><br />1: PgSelect[244]<br />2: PgSelectRows[249]<br />ᐳ: 248, 250, 252, 254, 256"):::bucket
    end
    Bucket0 --> Bucket1
    Bucket1 --> Bucket3
    Bucket3 --> Bucket4
    Bucket4 --> Bucket7
    Bucket7 --> Bucket8 & Bucket9
    Bucket8 --> Bucket12
    Bucket9 --> Bucket10 & Bucket11
    Bucket10 --> Bucket15 & Bucket17 & Bucket27
    Bucket11 --> Bucket15 & Bucket18 & Bucket28
    Bucket12 --> Bucket13 & Bucket14
    Bucket15 --> Bucket16
    Bucket16 --> Bucket19 & Bucket20
    Bucket17 --> Bucket23
    Bucket18 --> Bucket23
    Bucket23 --> Bucket24
    Bucket24 --> Bucket25 & Bucket26
    Bucket27 --> Bucket29
    Bucket28 --> Bucket30
    Bucket29 --> Bucket31
    Bucket30 --> Bucket31
    Bucket31 --> Bucket32
    Bucket32 --> Bucket33 & Bucket34

    %% plan dependencies
    PgSelect9[["PgSelect[9∈0] ➊<br />ᐸpeopleᐳ<br />More deps:<br />- Object[12]<br />- Constantᐸ4ᐳ[264]"]]:::plan
    Object12{{"Object[12∈0] ➊<br />ᐸ{pgSettings,withPgClient}ᐳ<br />Dependents: 21"}}:::plan
    Access10{{"Access[10∈0] ➊<br />ᐸ2.pgSettingsᐳ"}}:::plan
    Access11{{"Access[11∈0] ➊<br />ᐸ2.withPgClientᐳ"}}:::plan
    Access10 & Access11 --> Object12
    Connection13[["Connection[13∈0] ➊<br />ᐸ9ᐳ<br />More deps:<br />- Constantᐸ4ᐳ[264]"]]:::plan
    PgSelect9 --> Connection13
    __Value2["__Value[2∈0] ➊<br />ᐸcontextᐳ"]:::plan
    __Value2 --> Access10
    __Value2 --> Access11
    ConnectionItems15[["ConnectionItems[15∈0] ➊"]]:::plan
    Connection13 --> ConnectionItems15
    __Item18[/"__Item[18∈3]<br />ᐸ15ᐳ"\]:::itemplan
    ConnectionItems15 ==> __Item18
    PgSelectSingle19{{"PgSelectSingle[19∈3]<br />ᐸpeopleᐳ"}}:::plan
    __Item18 --> PgSelectSingle19
    PgUnionAll22[["PgUnionAll[22∈4]<br />ᐸAwsApplication,GcpApplicationᐳ<br />More deps:<br />- Object[12]"]]:::plan
    PgClassExpression20{{"PgClassExpression[20∈4]<br />ᐸ__people__.”person_id”ᐳ"}}:::plan
    PgClassExpression20 --> PgUnionAll22
    PgUnionAll27[["PgUnionAll[27∈4]<br />ᐸAwsApplication,GcpApplicationᐳ<br />More deps:<br />- Object[12]"]]:::plan
    PgClassExpression20 --> PgUnionAll27
    PgSelectSingle19 --> PgClassExpression20
    PgClassExpression21{{"PgClassExpression[21∈4]<br />ᐸ__people__.”username”ᐳ"}}:::plan
    PgSelectSingle19 --> PgClassExpression21
    Connection26[["Connection[26∈4]<br />ᐸ22ᐳ"]]:::plan
    PgUnionAll22 --> Connection26
    First28{{"First[28∈4]"}}:::plan
    Access263{{"Access[263∈4]<br />ᐸ27.itemsᐳ"}}:::plan
    Access263 --> First28
    PgClassExpression31{{"PgClassExpression[31∈4]<br />ᐸcount(*)ᐳ"}}:::plan
    First28 --> PgClassExpression31
    ConnectionItems32[["ConnectionItems[32∈4]"]]:::plan
    Connection26 --> ConnectionItems32
    PgUnionAll27 --> Access263
    List43{{"List[43∈7]<br />ᐸ40,41,42ᐳ<br />More deps:<br />- Constantᐸ[HIDDEN]ᐳ[42]"}}:::plan
    Access40{{"Access[40∈7]<br />ᐸ37.0ᐳ"}}:::plan
    Access41{{"Access[41∈7]<br />ᐸ37.1ᐳ"}}:::plan
    Access40 & Access41 --> List43
    Edge38{{"Edge[38∈7]"}}:::plan
    __Item37[/"__Item[37∈7]<br />ᐸ32ᐳ"\]:::itemplan
    PgCursor63{{"PgCursor[63∈7]"}}:::plan
    __Item37 & PgCursor63 --> Edge38
    Access62{{"Access[62∈7]<br />ᐸ22.cursorDetailsᐳ"}}:::plan
    __Item37 & Access62 --> PgCursor63
    ConnectionItems32 ==> __Item37
    __Item37 --> Access40
    __Item37 --> Access41
    Lambda44{{"Lambda[44∈7]<br />ᐸtoSpecifierᐳ"}}:::plan
    List43 --> Lambda44
    Access45{{"Access[45∈7]<br />ᐸ44.__typenameᐳ"}}:::plan
    Lambda44 --> Access45
    Access46{{"Access[46∈7]<br />ᐸ44.idᐳ"}}:::plan
    Lambda44 --> Access46
    PgUnionAll22 --> Access62
    PgUnionAll73[["PgUnionAll[73∈10]^<br />ᐸPerson,Organizationᐳ<br />More deps:<br />- Object[12]"]]:::plan
    PgClassExpression71{{"PgClassExpression[71∈10]^<br />ᐸ__aws_appl...person_id”ᐳ"}}:::plan
    PgClassExpression72{{"PgClassExpression[72∈10]^<br />ᐸ__aws_appl...zation_id”ᐳ"}}:::plan
    PgClassExpression71 & PgClassExpression72 --> PgUnionAll73
    List126{{"List[126∈10]^<br />ᐸ123,124,125ᐳ<br />More deps:<br />- Constantᐸ[HIDDEN]ᐳ[125]"}}:::plan
    Access123{{"Access[123∈10]^<br />ᐸ77.0ᐳ"}}:::plan
    Access124{{"Access[124∈10]^<br />ᐸ77.1ᐳ"}}:::plan
    Access123 & Access124 --> List126
    PgSelect47[["PgSelect[47∈10]<br />ᐸaws_applicationsᐳ<br />ᐳAwsApplication<br />More deps:<br />- Object[12]"]]:::plan
    Access46 --> PgSelect47
    PgUnionAll89[["PgUnionAll[89∈10]^<br />ᐸFirstPartyVulnerability,ThirdPartyVulnerabilityᐳ<br />More deps:<br />- Object[12]"]]:::plan
    PgClassExpression67{{"PgClassExpression[67∈10]^<br />ᐸ__aws_appl...ons__.”id”ᐳ"}}:::plan
    PgClassExpression67 --> PgUnionAll89
    PgUnionAll93[["PgUnionAll[93∈10]^<br />ᐸFirstPartyVulnerability,ThirdPartyVulnerabilityᐳ<br />More deps:<br />- Object[12]"]]:::plan
    PgClassExpression67 --> PgUnionAll93
    PgUnionAll157[["PgUnionAll[157∈10]^<br />ᐸFirstPartyVulnerability,ThirdPartyVulnerabilityᐳ<br />More deps:<br />- Object[12]"]]:::plan
    PgClassExpression67 --> PgUnionAll157
    First51{{"First[51∈10]^"}}:::plan
    PgSelectRows52[["PgSelectRows[52∈10]^"]]:::plan
    PgSelectRows52 --> First51
    PgSelect47 --> PgSelectRows52
    PgSelectSingle53{{"PgSelectSingle[53∈10]^<br />ᐸaws_applicationsᐳ"}}:::plan
    First51 --> PgSelectSingle53
    PgClassExpression65{{"PgClassExpression[65∈10]^<br />ᐸ__aws_appl..._.”aws_id”ᐳ"}}:::plan
    PgSelectSingle53 --> PgClassExpression65
    PgSelectSingle53 --> PgClassExpression67
    PgClassExpression69{{"PgClassExpression[69∈10]^<br />ᐸ__aws_appl...s__.”name”ᐳ"}}:::plan
    PgClassExpression65 o--o PgClassExpression69
    PgSelectSingle53 --> PgClassExpression71
    PgSelectSingle53 --> PgClassExpression72
    First77{{"First[77∈10]^"}}:::plan
    Access259{{"Access[259∈10]^<br />ᐸ73.itemsᐳ"}}:::plan
    Access259 --> First77
    Connection95[["Connection[95∈10]^<br />ᐸ93ᐳ"]]:::plan
    PgUnionAll93 --> Connection95
    First77 --> Access123
    First77 --> Access124
    Lambda127{{"Lambda[127∈10]^<br />ᐸtoSpecifierᐳ"}}:::plan
    List126 --> Lambda127
    First158{{"First[158∈10]^"}}:::plan
    Access258{{"Access[258∈10]^<br />ᐸ157.itemsᐳ"}}:::plan
    Access258 --> First158
    PgClassExpression161{{"PgClassExpression[161∈10]^<br />ᐸcount(*)ᐳ"}}:::plan
    First158 --> PgClassExpression161
    ConnectionItems167[["ConnectionItems[167∈10]^"]]:::plan
    Connection95 --> ConnectionItems167
    Access257{{"Access[257∈10]^<br />ᐸ89.itemsᐳ"}}:::plan
    PgUnionAll89 --> Access257
    PgUnionAll157 --> Access258
    PgUnionAll73 --> Access259
    PgUnionAll82[["PgUnionAll[82∈11]^<br />ᐸPerson,Organizationᐳ<br />More deps:<br />- Object[12]"]]:::plan
    PgClassExpression80{{"PgClassExpression[80∈11]^<br />ᐸ__gcp_appl...person_id”ᐳ"}}:::plan
    PgClassExpression81{{"PgClassExpression[81∈11]^<br />ᐸ__gcp_appl...zation_id”ᐳ"}}:::plan
    PgClassExpression80 & PgClassExpression81 --> PgUnionAll82
    List131{{"List[131∈11]^<br />ᐸ128,129,130ᐳ<br />More deps:<br />- Constantᐸ[HIDDEN]ᐳ[130]"}}:::plan
    Access128{{"Access[128∈11]^<br />ᐸ86.0ᐳ"}}:::plan
    Access129{{"Access[129∈11]^<br />ᐸ86.1ᐳ"}}:::plan
    Access128 & Access129 --> List131
    PgSelect55[["PgSelect[55∈11]<br />ᐸgcp_applicationsᐳ<br />ᐳGcpApplication<br />More deps:<br />- Object[12]"]]:::plan
    Access46 --> PgSelect55
    PgUnionAll91[["PgUnionAll[91∈11]^<br />ᐸFirstPartyVulnerability,ThirdPartyVulnerabilityᐳ<br />More deps:<br />- Object[12]"]]:::plan
    PgClassExpression68{{"PgClassExpression[68∈11]^<br />ᐸ__gcp_appl...ons__.”id”ᐳ"}}:::plan
    PgClassExpression68 --> PgUnionAll91
    PgUnionAll96[["PgUnionAll[96∈11]^<br />ᐸFirstPartyVulnerability,ThirdPartyVulnerabilityᐳ<br />More deps:<br />- Object[12]"]]:::plan
    PgClassExpression68 --> PgUnionAll96
    PgUnionAll162[["PgUnionAll[162∈11]^<br />ᐸFirstPartyVulnerability,ThirdPartyVulnerabilityᐳ<br />More deps:<br />- Object[12]"]]:::plan
    PgClassExpression68 --> PgUnionAll162
    First59{{"First[59∈11]^"}}:::plan
    PgSelectRows60[["PgSelectRows[60∈11]^"]]:::plan
    PgSelectRows60 --> First59
    PgSelect55 --> PgSelectRows60
    PgSelectSingle61{{"PgSelectSingle[61∈11]^<br />ᐸgcp_applicationsᐳ"}}:::plan
    First59 --> PgSelectSingle61
    PgClassExpression66{{"PgClassExpression[66∈11]^<br />ᐸ__gcp_appl..._.”gcp_id”ᐳ"}}:::plan
    PgSelectSingle61 --> PgClassExpression66
    PgSelectSingle61 --> PgClassExpression68
    PgClassExpression70{{"PgClassExpression[70∈11]^<br />ᐸ__gcp_appl...s__.”name”ᐳ"}}:::plan
    PgClassExpression66 o--o PgClassExpression70
    PgSelectSingle61 --> PgClassExpression80
    PgSelectSingle61 --> PgClassExpression81
    First86{{"First[86∈11]^"}}:::plan
    Access262{{"Access[262∈11]^<br />ᐸ82.itemsᐳ"}}:::plan
    Access262 --> First86
    Connection98[["Connection[98∈11]^<br />ᐸ96ᐳ"]]:::plan
    PgUnionAll96 --> Connection98
    First86 --> Access128
    First86 --> Access129
    Lambda132{{"Lambda[132∈11]^<br />ᐸtoSpecifierᐳ"}}:::plan
    List131 --> Lambda132
    First163{{"First[163∈11]^"}}:::plan
    Access261{{"Access[261∈11]^<br />ᐸ162.itemsᐳ"}}:::plan
    Access261 --> First163
    PgClassExpression166{{"PgClassExpression[166∈11]^<br />ᐸcount(*)ᐳ"}}:::plan
    First163 --> PgClassExpression166
    ConnectionItems170[["ConnectionItems[170∈11]^"]]:::plan
    Connection98 --> ConnectionItems170
    Access260{{"Access[260∈11]^<br />ᐸ91.itemsᐳ"}}:::plan
    PgUnionAll91 --> Access260
    PgUnionAll162 --> Access261
    PgUnionAll82 --> Access262
    PgSelect106[["PgSelect[106∈13]<br />ᐸaws_applicationsᐳ<br />ᐳAwsApplication<br />More deps:<br />- Object[12]"]]:::plan
    Access46 --> PgSelect106
    First110{{"First[110∈13]^"}}:::plan
    PgSelectRows111[["PgSelectRows[111∈13]^"]]:::plan
    PgSelectRows111 --> First110
    PgSelect106 --> PgSelectRows111
    PgSelectSingle112{{"PgSelectSingle[112∈13]^<br />ᐸaws_applicationsᐳ"}}:::plan
    First110 --> PgSelectSingle112
    PgClassExpression155{{"PgClassExpression[155∈13]^<br />ᐸ__aws_appl...ons__.”id”ᐳ"}}:::plan
    PgSelectSingle112 --> PgClassExpression155
    PgSelect114[["PgSelect[114∈14]<br />ᐸgcp_applicationsᐳ<br />ᐳGcpApplication<br />More deps:<br />- Object[12]"]]:::plan
    Access46 --> PgSelect114
    First118{{"First[118∈14]^"}}:::plan
    PgSelectRows119[["PgSelectRows[119∈14]^"]]:::plan
    PgSelectRows119 --> First118
    PgSelect114 --> PgSelectRows119
    PgSelectSingle120{{"PgSelectSingle[120∈14]^<br />ᐸgcp_applicationsᐳ"}}:::plan
    First118 --> PgSelectSingle120
    PgClassExpression156{{"PgClassExpression[156∈14]^<br />ᐸ__gcp_appl...ons__.”id”ᐳ"}}:::plan
    PgSelectSingle120 --> PgClassExpression156
    Access134{{"Access[134∈15]^<br />ᐸ133.__typenameᐳ"}}:::plan
    __Value133:::plan@{shape: docs, label: "__Combined[133∈15]<br />ᐳAwsApplication<br />ᐳGcpApplication"}
    __Value133 --> Access134
    List176{{"List[176∈17]^<br />ᐸ173,174,175ᐳ<br />More deps:<br />- Constantᐸ[HIDDEN]ᐳ[175]"}}:::plan
    Access173{{"Access[173∈17]^<br />ᐸ151.0ᐳ"}}:::plan
    Access174{{"Access[174∈17]^<br />ᐸ151.1ᐳ"}}:::plan
    Access173 & Access174 --> List176
    __Item151[/"__Item[151∈17]<br />ᐸ257ᐳ<br />ᐳAwsApplication"\]:::itemplan
    Access257 ==> __Item151
    __Item151 --> Access173
    __Item151 --> Access174
    Lambda177{{"Lambda[177∈17]^<br />ᐸtoSpecifierᐳ"}}:::plan
    List176 --> Lambda177
    List181{{"List[181∈18]^<br />ᐸ178,179,180ᐳ<br />More deps:<br />- Constantᐸ[HIDDEN]ᐳ[180]"}}:::plan
    Access178{{"Access[178∈18]^<br />ᐸ153.0ᐳ"}}:::plan
    Access179{{"Access[179∈18]^<br />ᐸ153.1ᐳ"}}:::plan
    Access178 & Access179 --> List181
    __Item153[/"__Item[153∈18]<br />ᐸ260ᐳ<br />ᐳGcpApplication"\]:::itemplan
    Access260 ==> __Item153
    __Item153 --> Access178
    __Item153 --> Access179
    Lambda182{{"Lambda[182∈18]^<br />ᐸtoSpecifierᐳ"}}:::plan
    List181 --> Lambda182
    PgSelect136[["PgSelect[136∈19]^<br />ᐸorganizationsᐳ<br />More deps:<br />- Object[12]"]]:::plan
    Access135{{"Access[135∈19]<br />ᐸ133.organization_idᐳ<br />(2) ...ᐳOrganization"}}:::plan
    Access135 --> PgSelect136
    __Value133 --> Access135
    First140{{"First[140∈19]^"}}:::plan
    PgSelectRows141[["PgSelectRows[141∈19]^"]]:::plan
    PgSelectRows141 --> First140
    PgSelect136 --> PgSelectRows141
    PgSelectSingle142{{"PgSelectSingle[142∈19]^<br />ᐸorganizationsᐳ"}}:::plan
    First140 --> PgSelectSingle142
    PgClassExpression201{{"PgClassExpression[201∈19]^<br />ᐸ__organiza...zation_id”ᐳ"}}:::plan
    PgSelectSingle142 --> PgClassExpression201
    PgClassExpression203{{"PgClassExpression[203∈19]^<br />ᐸ__organiza...s__.”name”ᐳ"}}:::plan
    PgClassExpression201 o--o PgClassExpression203
    PgSelect144[["PgSelect[144∈20]^<br />ᐸpeopleᐳ<br />More deps:<br />- Object[12]"]]:::plan
    Access143{{"Access[143∈20]<br />ᐸ133.person_idᐳ<br />(2) ...ᐳPerson"}}:::plan
    Access143 --> PgSelect144
    __Value133 --> Access143
    First148{{"First[148∈20]^"}}:::plan
    PgSelectRows149[["PgSelectRows[149∈20]^"]]:::plan
    PgSelectRows149 --> First148
    PgSelect144 --> PgSelectRows149
    PgSelectSingle150{{"PgSelectSingle[150∈20]^<br />ᐸpeopleᐳ"}}:::plan
    First148 --> PgSelectSingle150
    PgClassExpression202{{"PgClassExpression[202∈20]^<br />ᐸ__people__.”person_id”ᐳ"}}:::plan
    PgSelectSingle150 --> PgClassExpression202
    PgClassExpression204{{"PgClassExpression[204∈20]^<br />ᐸ__people__.”username”ᐳ"}}:::plan
    PgClassExpression202 o--o PgClassExpression204
    Access184{{"Access[184∈23]^<br />ᐸ183.__typenameᐳ"}}:::plan
    __Value183:::plan@{shape: docs, label: "__Combined[183∈23]<br />ᐳAwsApplication<br />ᐳGcpApplication"}
    __Value183 --> Access184
    Access185{{"Access[185∈23]^<br />ᐸ183.idᐳ"}}:::plan
    __Value183 --> Access185
    PgSelect186[["PgSelect[186∈25]<br />ᐸfirst_party_vulnerabilitiesᐳ<br />(2) ...ᐳFirstPartyVulnerability<br />More deps:<br />- Object[12]"]]:::plan
    Access185 --> PgSelect186
    First190{{"First[190∈25]^"}}:::plan
    PgSelectRows191[["PgSelectRows[191∈25]^"]]:::plan
    PgSelectRows191 --> First190
    PgSelect186 --> PgSelectRows191
    PgSelectSingle192{{"PgSelectSingle[192∈25]^<br />ᐸfirst_party_vulnerabilitiesᐳ"}}:::plan
    First190 --> PgSelectSingle192
    PgClassExpression209{{"PgClassExpression[209∈25]^<br />ᐸ__first_pa...team_name”ᐳ"}}:::plan
    PgSelectSingle192 --> PgClassExpression209
    PgClassExpression211{{"PgClassExpression[211∈25]^<br />ᐸ__first_pa...ies__.”id”ᐳ"}}:::plan
    PgClassExpression209 o--o PgClassExpression211
    PgClassExpression213{{"PgClassExpression[213∈25]^<br />ᐸ__first_pa...vss_score”ᐳ"}}:::plan
    PgClassExpression211 o--o PgClassExpression213
    PgClassExpression215{{"PgClassExpression[215∈25]^<br />ᐸ__first_pa...s__.”name”ᐳ"}}:::plan
    PgClassExpression213 o--o PgClassExpression215
    PgSelect194[["PgSelect[194∈26]<br />ᐸthird_party_vulnerabilitiesᐳ<br />(2) ...ᐳThirdPartyVulnerability<br />More deps:<br />- Object[12]"]]:::plan
    Access185 --> PgSelect194
    First198{{"First[198∈26]^"}}:::plan
    PgSelectRows199[["PgSelectRows[199∈26]^"]]:::plan
    PgSelectRows199 --> First198
    PgSelect194 --> PgSelectRows199
    PgSelectSingle200{{"PgSelectSingle[200∈26]^<br />ᐸthird_party_vulnerabilitiesᐳ"}}:::plan
    First198 --> PgSelectSingle200
    PgClassExpression210{{"PgClassExpression[210∈26]^<br />ᐸ__third_pa...ndor_name”ᐳ"}}:::plan
    PgSelectSingle200 --> PgClassExpression210
    PgClassExpression212{{"PgClassExpression[212∈26]^<br />ᐸ__third_pa...ies__.”id”ᐳ"}}:::plan
    PgClassExpression210 o--o PgClassExpression212
    PgClassExpression214{{"PgClassExpression[214∈26]^<br />ᐸ__third_pa...vss_score”ᐳ"}}:::plan
    PgClassExpression212 o--o PgClassExpression214
    PgClassExpression216{{"PgClassExpression[216∈26]^<br />ᐸ__third_pa...s__.”name”ᐳ"}}:::plan
    PgClassExpression214 o--o PgClassExpression216
    Edge206{{"Edge[206∈27]^"}}:::plan
    __Item205[/"__Item[205∈27]<br />ᐸ167ᐳ<br />ᐳAwsApplication"\]:::itemplan
    PgCursor218{{"PgCursor[218∈27]^"}}:::plan
    __Item205 & PgCursor218 --> Edge206
    Access217{{"Access[217∈27]<br />ᐸ93.cursorDetailsᐳ<br />ᐳAwsApplication"}}:::plan
    __Item205 & Access217 --> PgCursor218
    ConnectionItems167 ==> __Item205
    PgUnionAll93 --> Access217
    Edge208{{"Edge[208∈28]^"}}:::plan
    __Item207[/"__Item[207∈28]<br />ᐸ170ᐳ<br />ᐳGcpApplication"\]:::itemplan
    PgCursor220{{"PgCursor[220∈28]^"}}:::plan
    __Item207 & PgCursor220 --> Edge208
    Access219{{"Access[219∈28]<br />ᐸ96.cursorDetailsᐳ<br />ᐳGcpApplication"}}:::plan
    __Item207 & Access219 --> PgCursor220
    ConnectionItems170 ==> __Item207
    PgUnionAll96 --> Access219
    List226{{"List[226∈29]^<br />ᐸ223,224,225ᐳ<br />More deps:<br />- Constantᐸ[HIDDEN]ᐳ[225]"}}:::plan
    Access223{{"Access[223∈29]<br />ᐸ205.0ᐳ<br />ᐳAwsApplication"}}:::plan
    Access224{{"Access[224∈29]<br />ᐸ205.1ᐳ<br />ᐳAwsApplication"}}:::plan
    Access223 & Access224 --> List226
    __Item205 --> Access223
    __Item205 --> Access224
    Lambda227{{"Lambda[227∈29]^<br />ᐸtoSpecifierᐳ"}}:::plan
    List226 --> Lambda227
    List231{{"List[231∈30]^<br />ᐸ228,229,230ᐳ<br />More deps:<br />- Constantᐸ[HIDDEN]ᐳ[230]"}}:::plan
    Access228{{"Access[228∈30]<br />ᐸ207.0ᐳ<br />ᐳGcpApplication"}}:::plan
    Access229{{"Access[229∈30]<br />ᐸ207.1ᐳ<br />ᐳGcpApplication"}}:::plan
    Access228 & Access229 --> List231
    __Item207 --> Access228
    __Item207 --> Access229
    Lambda232{{"Lambda[232∈30]^<br />ᐸtoSpecifierᐳ"}}:::plan
    List231 --> Lambda232
    Access234{{"Access[234∈31]^<br />ᐸ233.__typenameᐳ"}}:::plan
    __Value233:::plan@{shape: docs, label: "__Combined[233∈31]<br />ᐳAwsApplication<br />ᐳGcpApplication"}
    __Value233 --> Access234
    Access235{{"Access[235∈31]^<br />ᐸ233.idᐳ"}}:::plan
    __Value233 --> Access235
    PgSelect236[["PgSelect[236∈33]<br />ᐸfirst_party_vulnerabilitiesᐳ<br />(2) ...ᐳFirstPartyVulnerability<br />More deps:<br />- Object[12]"]]:::plan
    Access235 --> PgSelect236
    First240{{"First[240∈33]^"}}:::plan
    PgSelectRows241[["PgSelectRows[241∈33]^"]]:::plan
    PgSelectRows241 --> First240
    PgSelect236 --> PgSelectRows241
    PgSelectSingle242{{"PgSelectSingle[242∈33]^<br />ᐸfirst_party_vulnerabilitiesᐳ"}}:::plan
    First240 --> PgSelectSingle242
    PgClassExpression251{{"PgClassExpression[251∈33]^<br />ᐸ__first_pa...vss_score”ᐳ"}}:::plan
    PgSelectSingle242 --> PgClassExpression251
    PgClassExpression253{{"PgClassExpression[253∈33]^<br />ᐸ__first_pa...ies__.”id”ᐳ"}}:::plan
    PgClassExpression251 o--o PgClassExpression253
    PgClassExpression255{{"PgClassExpression[255∈33]^<br />ᐸ__first_pa...s__.”name”ᐳ"}}:::plan
    PgClassExpression253 o--o PgClassExpression255
    PgSelect244[["PgSelect[244∈34]<br />ᐸthird_party_vulnerabilitiesᐳ<br />(2) ...ᐳThirdPartyVulnerability<br />More deps:<br />- Object[12]"]]:::plan
    Access235 --> PgSelect244
    First248{{"First[248∈34]^"}}:::plan
    PgSelectRows249[["PgSelectRows[249∈34]^"]]:::plan
    PgSelectRows249 --> First248
    PgSelect244 --> PgSelectRows249
    PgSelectSingle250{{"PgSelectSingle[250∈34]^<br />ᐸthird_party_vulnerabilitiesᐳ"}}:::plan
    First248 --> PgSelectSingle250
    PgClassExpression252{{"PgClassExpression[252∈34]^<br />ᐸ__third_pa...vss_score”ᐳ"}}:::plan
    PgSelectSingle250 --> PgClassExpression252
    PgClassExpression254{{"PgClassExpression[254∈34]^<br />ᐸ__third_pa...ies__.”id”ᐳ"}}:::plan
    PgClassExpression252 o--o PgClassExpression254
    PgClassExpression256{{"PgClassExpression[256∈34]^<br />ᐸ__third_pa...s__.”name”ᐳ"}}:::plan
    PgClassExpression254 o--o PgClassExpression256

    %% define steps
    classDef bucket0 stroke:#696969
    class Bucket0,__Value2,PgSelect9,Access10,Access11,Object12,Connection13,ConnectionItems15 bucket0
    classDef bucket1 stroke:#00bfff
    class Bucket1 bucket1
    classDef bucket3 stroke:#ffa500
    class Bucket3,__Item18,PgSelectSingle19 bucket3
    classDef bucket4 stroke:#0000ff
    class Bucket4,PgClassExpression20,PgClassExpression21,PgUnionAll22,Connection26,PgUnionAll27,First28,PgClassExpression31,ConnectionItems32,Access263 bucket4
    classDef bucket7 stroke:#808000
    class Bucket7,__Item37,Edge38,Access40,Access41,List43,Lambda44,Access45,Access46,Access62,PgCursor63 bucket7
    classDef bucket8 stroke:#dda0dd
    class Bucket8 bucket8
    classDef bucket9 stroke:#ff0000
    class Bucket9 bucket9
    classDef bucket10 stroke:#ffff00
    class Bucket10,PgSelect47,First51,PgSelectRows52,PgSelectSingle53,PgClassExpression65,PgClassExpression67,PgClassExpression69,PgClassExpression71,PgClassExpression72,PgUnionAll73,First77,PgUnionAll89,PgUnionAll93,Connection95,Access123,Access124,List126,Lambda127,PgUnionAll157,First158,PgClassExpression161,ConnectionItems167,Access257,Access258,Access259 bucket10
    classDef bucket11 stroke:#00ffff
    class Bucket11,PgSelect55,First59,PgSelectRows60,PgSelectSingle61,PgClassExpression66,PgClassExpression68,PgClassExpression70,PgClassExpression80,PgClassExpression81,PgUnionAll82,First86,PgUnionAll91,PgUnionAll96,Connection98,Access128,Access129,List131,Lambda132,PgUnionAll162,First163,PgClassExpression166,ConnectionItems170,Access260,Access261,Access262 bucket11
    classDef bucket12 stroke:#4169e1
    class Bucket12 bucket12
    classDef bucket13 stroke:#3cb371
    class Bucket13,PgSelect106,First110,PgSelectRows111,PgSelectSingle112,PgClassExpression155 bucket13
    classDef bucket14 stroke:#a52a2a
    class Bucket14,PgSelect114,First118,PgSelectRows119,PgSelectSingle120,PgClassExpression156 bucket14
    classDef bucket15 stroke:#ff00ff
    class Bucket15,__Value133,Access134 bucket15
    classDef bucket16 stroke:#f5deb3
    class Bucket16 bucket16
    classDef bucket17 stroke:#696969
    class Bucket17,__Item151,Access173,Access174,List176,Lambda177 bucket17
    classDef bucket18 stroke:#00bfff
    class Bucket18,__Item153,Access178,Access179,List181,Lambda182 bucket18
    classDef bucket19 stroke:#7f007f
    class Bucket19,Access135,PgSelect136,First140,PgSelectRows141,PgSelectSingle142,PgClassExpression201,PgClassExpression203 bucket19
    classDef bucket20 stroke:#ffa500
    class Bucket20,Access143,PgSelect144,First148,PgSelectRows149,PgSelectSingle150,PgClassExpression202,PgClassExpression204 bucket20
    classDef bucket23 stroke:#ff1493
    class Bucket23,__Value183,Access184,Access185 bucket23
    classDef bucket24 stroke:#808000
    class Bucket24 bucket24
    classDef bucket25 stroke:#dda0dd
    class Bucket25,PgSelect186,First190,PgSelectRows191,PgSelectSingle192,PgClassExpression209,PgClassExpression211,PgClassExpression213,PgClassExpression215 bucket25
    classDef bucket26 stroke:#ff0000
    class Bucket26,PgSelect194,First198,PgSelectRows199,PgSelectSingle200,PgClassExpression210,PgClassExpression212,PgClassExpression214,PgClassExpression216 bucket26
    classDef bucket27 stroke:#ffff00
    class Bucket27,__Item205,Edge206,Access217,PgCursor218 bucket27
    classDef bucket28 stroke:#00ffff
    class Bucket28,__Item207,Edge208,Access219,PgCursor220 bucket28
    classDef bucket29 stroke:#4169e1
    class Bucket29,Access223,Access224,List226,Lambda227 bucket29
    classDef bucket30 stroke:#3cb371
    class Bucket30,Access228,Access229,List231,Lambda232 bucket30
    classDef bucket31 stroke:#a52a2a
    class Bucket31,__Value233,Access234,Access235 bucket31
    classDef bucket32 stroke:#ff00ff
    class Bucket32 bucket32
    classDef bucket33 stroke:#f5deb3
    class Bucket33,PgSelect236,First240,PgSelectRows241,PgSelectSingle242,PgClassExpression251,PgClassExpression253,PgClassExpression255 bucket33
    classDef bucket34 stroke:#696969
    class Bucket34,PgSelect244,First248,PgSelectRows249,PgSelectSingle250,PgClassExpression252,PgClassExpression254,PgClassExpression256 bucket34

    Lambda127 -.-x __Value133
    Lambda132 -.-x __Value133
    Lambda177 -.-x __Value183
    Lambda182 -.-x __Value183
    Lambda227 -.-x __Value233
    Lambda232 -.-x __Value233
